+Sat Jun 23 10:27:53 2001 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c: Fixup some problems with
+ text length handling in error cases.
+
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder
+ a bit to make test actually warn on attempt to allocation
+ a negative size. (#56101, Matthias Clasen)
+
Fri Jun 22 14:06:08 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
+Sat Jun 23 10:27:53 2001 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c: Fixup some problems with
+ text length handling in error cases.
+
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder
+ a bit to make test actually warn on attempt to allocation
+ a negative size. (#56101, Matthias Clasen)
+
Fri Jun 22 14:06:08 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
+Sat Jun 23 10:27:53 2001 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c: Fixup some problems with
+ text length handling in error cases.
+
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder
+ a bit to make test actually warn on attempt to allocation
+ a negative size. (#56101, Matthias Clasen)
+
Fri Jun 22 14:06:08 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
+Sat Jun 23 10:27:53 2001 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c: Fixup some problems with
+ text length handling in error cases.
+
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder
+ a bit to make test actually warn on attempt to allocation
+ a negative size. (#56101, Matthias Clasen)
+
Fri Jun 22 14:06:08 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
+Sat Jun 23 10:27:53 2001 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c: Fixup some problems with
+ text length handling in error cases.
+
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder
+ a bit to make test actually warn on attempt to allocation
+ a negative size. (#56101, Matthias Clasen)
+
Fri Jun 22 14:06:08 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
+Sat Jun 23 10:27:53 2001 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c: Fixup some problems with
+ text length handling in error cases.
+
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder
+ a bit to make test actually warn on attempt to allocation
+ a negative size. (#56101, Matthias Clasen)
+
Fri Jun 22 14:06:08 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
+Sat Jun 23 10:27:53 2001 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c: Fixup some problems with
+ text length handling in error cases.
+
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder
+ a bit to make test actually warn on attempt to allocation
+ a negative size. (#56101, Matthias Clasen)
+
Fri Jun 22 14:06:08 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
real_allocation.y = aux_info->y;
}
- real_allocation.width = MAX (real_allocation.width, 1);
- real_allocation.height = MAX (real_allocation.height, 1);
-
if (real_allocation.width < 0 || real_allocation.height < 0)
{
g_warning ("gtk_widget_size_allocate(): attempt to allocate widget with width %d and height %d",
real_allocation.width,
real_allocation.height);
- real_allocation.width = 1;
- real_allocation.height = 1;
}
+ real_allocation.width = MAX (real_allocation.width, 1);
+ real_allocation.height = MAX (real_allocation.height, 1);
+
if (GTK_WIDGET_NO_WINDOW (widget))
{
if (widget->allocation.x != real_allocation.x ||
-1,
"UTF-8",
context->mb_charset,
- NULL, &text_length, &error);
+ NULL, NULL, &error);
if (result)
{
{
g_warning ("Error converting text from IM to UCS-4: %s", error->message);
g_error_free (error);
+
+ *text = NULL;
+ return 0;
}
*text = result;